package main

import (
	"fmt"
	"net/http"
)

func main() {
	mux := http.NewServeMux()
	mux.HandleFunc("/test3", func(w http.ResponseWriter, r *http.Request) {
		fmt.Println("test3")
		fmt.Fprint(w, "3333333333")
	})
	mux.HandleFunc("/test4", func(w http.ResponseWriter, r *http.Request) {
		fmt.Println("test4")
		fmt.Fprint(w, "444444444")
	})
	mux.HandleFunc("/test", func(w http.ResponseWriter, r *http.Request) {
		fmt.Println("test")
		fmt.Fprint(w, "000011111")
	})

	http.ListenAndServe(":8999", mux)
}
